package com.ice.work.moment.facade.user.model;

import com.baomidou.mybatisplus.annotation.Version;
import com.ice.work.moment.facade.user.dto.UserDTO;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

import java.io.Serializable;
import java.util.Objects;

/**
 * 用户
 *
 * @Author DELL
 * @Create 2019-01-09
 * @Since 1.0.0
 */
@NoArgsConstructor
@Data
public class User implements Serializable {
    private Long id;
    private String name;
    private String password;
    private Integer age;
    private String mobile;

    private Integer dataStatus;

    @Version
    private Long version;
}
